﻿
using SHZY.Common.Models;

namespace SHZY.BaseData.Entitys.Dto.QmsBaseCheckcarddetail;

/// <summary>
/// 检卡抽样方案明细输出参数.
/// </summary>
public class QmsBaseCheckcarddetailInfoOutput
{
    /// <summary>
    /// GUID.
    /// </summary>
    public string id { get; set; }

    /// <summary>
    /// 抽样表ID.
    /// </summary>
    public string sampleId { get; set; }

    /// <summary>
    /// 检验项目.
    /// </summary>
    public string innspectionName { get; set; }

    /// <summary>
    /// 检验条⽬.
    /// </summary>
    public string innspectionEntry { get; set; }

    /// <summary>
    /// 检验⽅法.
    /// </summary>
    public string innspectionMethod { get; set; }

    /// <summary>
    /// 类型：定量、定性.
    /// </summary>
    public string type { get; set; }

    /// <summary>
    /// 定量标准：区间，⽐较符，允公差.
    /// </summary>
    public string quantitativeStandards { get; set; }

    /// <summary>
    /// 标准值.
    /// </summary>
    public decimal standardValue { get; set; }

    /// <summary>
    /// 上偏差.
    /// </summary>
    public decimal upperDeviation { get; set; }

    /// <summary>
    /// 下偏差.
    /// </summary>
    public decimal lowerDeviation { get; set; }

    /// <summary>
    /// 最大值.
    /// </summary>
    public decimal maximumValue { get; set; }

    /// <summary>
    /// .
    /// </summary>
    public decimal minimumValue { get; set; }

    /// <summary>
    /// ⼩数位数.
    /// </summary>
    public int? accuracy { get; set; }

    /// <summary>
    /// 计量单位，选择，⾮⼿⼯输⼊.
    /// </summary>
    public string unit { get; set; }

    /// <summary>
    /// 备注.
    /// </summary>
    public string remarks { get; set; }

    /// <summary>
    /// N未开启 Y 开启，则此检验项⽬⽆需有合格判定，仅⽤于做记录后续⽣成的对外检验报告也不参与⽣成在具体检验上做个特殊标识，可以⼀眼就看出来.
    /// </summary>
    public string referTo { get; set; }

    /// <summary>
    /// N未开启 Y开启.
    /// </summary>
    public string destructiveness { get; set; }

    /// <summary>
    /// 在检验时进⾏相应的输⼊可以维护⾃定义参数.
    /// </summary>
    public object customParameters { get; set; }

    /// <summary>
    /// 默认⽆限定，可增加逻辑，仅当条件等于时，才出现，限定供应商、限定客户。限定业务类型.
    /// </summary>
    public string qualifyingLogic { get; set; }

    /// <summary>
    /// 限定供应商.
    /// </summary>
    public string supplier { get; set; }

    /// <summary>
    /// 限定客户.
    /// </summary>
    public string customer { get; set; }

    /// <summary>
    /// 限定业务类型.
    /// </summary>
    public string businessType { get; set; }

    /// <summary>
    /// 排序.
    /// </summary>
    public int? sort { get; set; }

    /// <summary>
    /// 父ID.
    /// </summary>
    public string volt { get; set; }

    /// <summary>
    /// 公式.
    /// </summary>
    public string formula { get; set; }

    /// <summary>
    /// 类型：主检验，子检验.
    /// </summary>
    public string vType { get; set; }

    /// <summary>
    /// 附件文件路径.
    /// </summary>
    public List<FileControlsModel> fileInfo { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    public int? enabledMark { get; set; }

}